package com.dc.system.model;

import java.io.Serializable;

public class SysAprvSettingConditionsItems implements Serializable {
	/**
	 * 主键ID
	 *
	 */
	private int id;

	/**
	 * 审批流程设定表ID
	 *
	 */
	private int fk_aprv_process_id;

	/**
	 * 字段名或替换为常量
	 *
	 */
	private String field_name;

	/**
	 * 关系运算符
	 *
	 */
	private String relation_operator;

	/**
	 * 常量值或字段名
	 *
	 */
	private String field_value;

	/**
	 * 逻辑运算符
	 *
	 */
	private String logical_operator;

	/**
	 * Java代码中需要替换的值0，是常量不需替换任何值，1是fieldName、2是fieldValue
	 *
	 */
	private int replace_location;

	/**
	 * 是否删除0删除1存在
	 *
	 */
	private String is_deleted;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	/**
	 */
	private static final long serialVersionUID = 1L;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getFk_aprv_process_id() {
		return fk_aprv_process_id;
	}

	public void setFk_aprv_process_id(int fk_aprv_process_id) {
		this.fk_aprv_process_id = fk_aprv_process_id;
	}

	public String getField_name() {
		return field_name;
	}

	public void setField_name(String field_name) {
		this.field_name = field_name;
	}

	public String getRelation_operator() {
		return relation_operator;
	}

	public void setRelation_operator(String relation_operator) {
		this.relation_operator = relation_operator;
	}

	public String getField_value() {
		return field_value;
	}

	public void setField_value(String field_value) {
		this.field_value = field_value;
	}

	public String getLogical_operator() {
		return logical_operator;
	}

	public void setLogical_operator(String logical_operator) {
		this.logical_operator = logical_operator;
	}

	public int getReplace_location() {
		return replace_location;
	}

	public void setReplace_location(int replace_location) {
		this.replace_location = replace_location;
	}

	public String getIs_deleted() {
		return is_deleted;
	}

	public void setIs_deleted(String is_deleted) {
		this.is_deleted = is_deleted;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", fk_aprv_process_id=").append(fk_aprv_process_id);
		sb.append(", field_name=").append(field_name);
		sb.append(", relation_operator=").append(relation_operator);
		sb.append(", field_value=").append(field_value);
		sb.append(", logical_operator=").append(logical_operator);
		sb.append(", replace_location=").append(replace_location);
		sb.append(", is_deleted=").append(is_deleted);
		sb.append("]");
		return sb.toString();
	}

}